<template>
	<div class="iDataUpload">
		<Card class="card">
			<p slot="title">工作证照片上传</p>
			<img :src="imgurl">
			<Poptip class="upload" trigger="hover" title="要求" content="不要太逗">
				<Upload action="//jsonplaceholder.typicode.com/posts/">
					<i-button type="info" icon="ios-cloud-upload-outline">上传照片</i-button>
				</Upload>
			</Poptip>
		</Card>
		<Card class="card">
			<p slot="title">课表上传</p>
			<img :src="imgurl">
			<Poptip class="upload" trigger="hover" title="要求" content="不要太逗">
				<Upload action="//jsonplaceholder.typicode.com/posts/">
					<i-button type="info" icon="ios-cloud-upload-outline">上传照片</i-button>
				</Upload>
			</Poptip>
		</Card>
	</div>
</template>

<script>
export default {

	name: 'iDataUpload',

	data () {
		return {
			imgurl:require('@/assets/logo.png'),
		}
	}
}
</script>

<style lang="css" scoped>
.iDataUpload {

}
.iDataUpload .card{
	margin-bottom: 20px
}
.iDataUpload .card .upload{
	width: 100%;
}
</style>